package 结构型设计模式.装饰器模式.demo;

/**
 * 装饰器基类
 */
public class MessageDecorator implements Message {

    private Message message;

    public MessageDecorator(Message message) {
        this.message = message;
    }

    @Override
    public String getContent() {
        return message.getContent();
    }
}
